package com.android.lovingpet.common.postlist;

import com.android.lovingpet.base.BaseView;
import com.android.lovingpet.bean.Post;

import java.util.List;

public interface PostListContract {

    interface View extends BaseView {

        void addPosts(List<Post> posts);
        void setUser();
        void clearPosts();
        void refresh();
        void complete();
    }

    interface Presenter {

        void getPosts(int typeOrUserId, int offset);
    }
}
